infinity in python

41

python set negative infinity -

# Define Negative infinity number
ntive_inf = float('-inf')
print('Negative Infinity: ',ntive_inf)

Comments

Submit
0 Comments